package com.sharing.android;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

/*
 * 
 */
public class FileSharing extends Activity {
    /** Called when the activity is first created. */
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
//        InputStream is = this.getResources().openRawResource(R.raw.wpt);
        String path = this.getBaseContext().getFilesDir().getPath();
//        if(!new File(path).exists()) {
//        	 try {
//     			//OutputStreamWriter os = new OutputStreamWriter(new FileOutputStream(this.getBaseContext().getFilesDir()));
//     			BufferedOutputStream bs = new BufferedOutputStream(new FileOutputStream(path));
//     			byte[] b = new byte[256];
//     			int i = -1;
//     			while((i = is.read(b)) != -1) {
//     				bs.write(b, 0, i);
//     			}
//     			bs.flush();
//     			bs.close();
//     			is.close();
//     		} catch (FileNotFoundException e) {
//     			// TODO Auto-generated catch block
//     			e.printStackTrace();
//     		} catch (IOException e) {
//     			// TODO Auto-generated catch block
//     			e.printStackTrace();
//     		}
//        }
       
    }
}